﻿using HuiLian.BigData.Hdl.ViewModel;

namespace HuiLian.BigData.Hdl.Message
{
    /// <summary>
    /// 登录消息
    /// </summary>
    public class LoginMessage : ApiResult
    {
        /// <summary>
        /// 数据
        /// </summary>
        public LoginData Data { get; set; }

        public string Token
        {
            get
            {
                return Data?.Token;
            }
        }
    }

    public class LoginData
    {
        public string Token { get; set; }
    }
}
